<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        li:nth-of-type(2){
            color: red;
        }
    </style>
</head>
<body>
<ul>
    <div>div1</div>
    <li>aa</li>
    <li>22222</li>
    <li>aa</li>
    <li>aa</li>
    <li>aa</li>

    <div>div2</div>
    <li>bb</li>
    <li>cc</li>
    <li>dd</li>
</ul>
<div>

    <div>div2</div>
    <div>div2</div>
    <li>aa</li>
    <li>bb</li>
    <div>div2</div>
    <li>cc</li>
    <li>dd</li>
</div>
</body>
</html>